package models

// WzjCaseDetail 案件明细表
type WzjCaseDetail struct {
	CaseId                    int64  `gorm:"column:case_id;type:bigint(20);primary_key" json:"case_id"`
	CasePlaintiffId           string `gorm:"column:case_plaintiff_id;type:varchar(255);comment:原告" json:"case_plaintiff_id"`
	CasePlaintiffName         string `gorm:"column:case_plaintiff_name;type:varchar(255);comment:原告名称" json:"case_plaintiff_name"`
	CaseDefendantId           string `gorm:"column:case_defendant_id;type:varchar(255);comment:被告" json:"case_defendant_id"`
	CaseDefendantName         string `gorm:"column:case_defendant_name;type:varchar(255);comment:被告名称" json:"case_defendant_name"`
	CaseThirdId               string `gorm:"column:case_third_id;type:varchar(255);comment:第三人" json:"case_third_id"`
	CaseThirdName             string `gorm:"column:case_third_name;type:varchar(255);comment:第三人名称" json:"case_third_name"`
	CourtLawyer               string `gorm:"column:court_lawyer;type:varchar(255);comment:开庭律师" json:"court_lawyer"`
	HandlingLawyer            string `gorm:"column:handling_lawyer;type:varchar(255);comment:经办律师" json:"handling_lawyer"`
	AssistantLawyer           string `gorm:"column:assistant_lawyer;type:varchar(255);comment:律师助理" json:"assistant_lawyer"`
	CaseSupplier              string `gorm:"column:case_supplier;type:varchar(255);comment:案源人" json:"case_supplier"`
	JudgmentOrMediationAmount string `gorm:"column:judgment_or_mediation_amount;type:varchar(255);comment:判决/调解金额" json:"judgment_or_mediation_amount"`
	CivilObject               string `gorm:"column:civil_object;type:varchar(255);comment:诉讼标的" json:"civil_object"`
	OneCourt                  string `gorm:"column:one_court;type:varchar(255);comment:一审法院" json:"one_court"`
	OneCourtName              string `gorm:"column:one_court_name;type:varchar(255);comment:一审法庭" json:"one_court_name"`
	OneCaseCode               string `gorm:"column:one_case_code;type:varchar(255);comment:一审案号 " json:"one_case_code"`
	OneHoldCourtDate          string `gorm:"column:one_hold_court_date;type:varchar(255);comment:一审开庭日" json:"one_hold_court_date"`
	OneJudgeDate              string `gorm:"column:one_judge_date;type:varchar(255);comment:一审判决日" json:"one_judge_date"`
	TwoCourt                  string `gorm:"column:two_court;type:varchar(255);comment:二审法院" json:"two_court"`
	TwoCourtName              string `gorm:"column:two_court_name;type:varchar(255);comment:二审法庭" json:"two_court_name"`
	TwoCaseCode               string `gorm:"column:two_case_code;type:varchar(255);comment:二审案号 " json:"two_case_code"`
	TwoHoldCourtDate          string `gorm:"column:two_hold_court_date;type:varchar(255);comment:二审开庭日" json:"two_hold_court_date"`
	TwoJudgeDate              string `gorm:"column:two_judge_date;type:varchar(255);comment:二审判决日" json:"two_judge_date"`
	ThreeCourt                string `gorm:"column:three_court;type:varchar(255);comment:再审法院" json:"three_court"`
	ThreeCourtName            string `gorm:"column:three_court_name;type:varchar(255);comment:再审法庭" json:"three_court_name"`
	ThreeCaseCode             string `gorm:"column:three_case_code;type:varchar(255);comment:再审案号 " json:"three_case_code"`
	ThreeHoldCourtDate        string `gorm:"column:three_hold_court_date;type:varchar(255);comment:再审开庭日" json:"three_hold_court_date"`
	ThreeJudgeDate            string `gorm:"column:three_judge_date;type:varchar(255);comment:再审判决日" json:"three_judge_date"`
}

func (m *WzjCaseDetail) TableName() string {
	return "wzj_case_detail"
}
